import { BehaviorNode, TreeNode } from "./BehaviorNode";
import { CompositeNode } from "./CompositeNode";

/**
 * 服务节点 修饰组合节点或者 执行节点
 */
export abstract class AServiceNode<T  extends IGameEntity> extends TreeNode<T>
{
    protected _node!:BehaviorNode<T>;
    constructor( node:BehaviorNode<T>)
    {
        super();
        this._node = node;
    }
}